﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YunSpace.Core.Extend
{
    public static partial class Ext
    {
        /// <summary>
        ///转中文
        /// </summary>
        public static string ToChinese(this bool? b)
        {
            if (b == null)
            {
                return "否";
            }
            else if (b == false)
            {
                return "否";
            }

            return "是";
        }
    }
}
